<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>行内样式</title>
  <!-- 
   css的属性:
   属性名1: 属性值1;属性名2: 属性值2;...
  -->
</head>

<body>
  <div style="width: 300px;height: 200px;background-color: red;">我是一个div标签1</div>
  <div style="color: pink;background-color: pink;width: 200px;height: 50px;">111</div>
</body>

</html>